From bf7a7a5f3d0ddae36a0fab79d4d3754d25ada5d0 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 7 Dec 2015 21:54:55 -0500 Subject: [PATCH] dnd: pass hotspot to GDK This uses the new api introduced in the previous commits. --- gtk/gtkdnd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c index 20ec74e04f..eba82c9e64 100644 --- a/gtk/gtkdnd.c +++ b/gtk/gtkdnd.c @@ -2468,6 +2468,8 @@ gtk_drag_set_icon_window (GdkDragContext *context, if (!widget) goto out; + gdk_drag_context_set_hotspot (context, hot_x, hot_y); + if (!info->icon_window) { GdkScreen *screen; -- 2.30.2